package com.shoe.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ShoeCartExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ShoeCartExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCartIdIsNull() {
            addCriterion("cart_id is null");
            return (Criteria) this;
        }

        public Criteria andCartIdIsNotNull() {
            addCriterion("cart_id is not null");
            return (Criteria) this;
        }

        public Criteria andCartIdEqualTo(Long value) {
            addCriterion("cart_id =", value, "cartId");
            return (Criteria) this;
        }

        public Criteria andCartIdNotEqualTo(Long value) {
            addCriterion("cart_id <>", value, "cartId");
            return (Criteria) this;
        }

        public Criteria andCartIdGreaterThan(Long value) {
            addCriterion("cart_id >", value, "cartId");
            return (Criteria) this;
        }

        public Criteria andCartIdGreaterThanOrEqualTo(Long value) {
            addCriterion("cart_id >=", value, "cartId");
            return (Criteria) this;
        }

        public Criteria andCartIdLessThan(Long value) {
            addCriterion("cart_id <", value, "cartId");
            return (Criteria) this;
        }

        public Criteria andCartIdLessThanOrEqualTo(Long value) {
            addCriterion("cart_id <=", value, "cartId");
            return (Criteria) this;
        }

        public Criteria andCartIdIn(List<Long> values) {
            addCriterion("cart_id in", values, "cartId");
            return (Criteria) this;
        }

        public Criteria andCartIdNotIn(List<Long> values) {
            addCriterion("cart_id not in", values, "cartId");
            return (Criteria) this;
        }

        public Criteria andCartIdBetween(Long value1, Long value2) {
            addCriterion("cart_id between", value1, value2, "cartId");
            return (Criteria) this;
        }

        public Criteria andCartIdNotBetween(Long value1, Long value2) {
            addCriterion("cart_id not between", value1, value2, "cartId");
            return (Criteria) this;
        }

        public Criteria andCartUserIdIsNull() {
            addCriterion("cart_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCartUserIdIsNotNull() {
            addCriterion("cart_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCartUserIdEqualTo(Long value) {
            addCriterion("cart_user_id =", value, "cartUserId");
            return (Criteria) this;
        }

        public Criteria andCartUserIdNotEqualTo(Long value) {
            addCriterion("cart_user_id <>", value, "cartUserId");
            return (Criteria) this;
        }

        public Criteria andCartUserIdGreaterThan(Long value) {
            addCriterion("cart_user_id >", value, "cartUserId");
            return (Criteria) this;
        }

        public Criteria andCartUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("cart_user_id >=", value, "cartUserId");
            return (Criteria) this;
        }

        public Criteria andCartUserIdLessThan(Long value) {
            addCriterion("cart_user_id <", value, "cartUserId");
            return (Criteria) this;
        }

        public Criteria andCartUserIdLessThanOrEqualTo(Long value) {
            addCriterion("cart_user_id <=", value, "cartUserId");
            return (Criteria) this;
        }

        public Criteria andCartUserIdIn(List<Long> values) {
            addCriterion("cart_user_id in", values, "cartUserId");
            return (Criteria) this;
        }

        public Criteria andCartUserIdNotIn(List<Long> values) {
            addCriterion("cart_user_id not in", values, "cartUserId");
            return (Criteria) this;
        }

        public Criteria andCartUserIdBetween(Long value1, Long value2) {
            addCriterion("cart_user_id between", value1, value2, "cartUserId");
            return (Criteria) this;
        }

        public Criteria andCartUserIdNotBetween(Long value1, Long value2) {
            addCriterion("cart_user_id not between", value1, value2, "cartUserId");
            return (Criteria) this;
        }

        public Criteria andCartGoodIdIsNull() {
            addCriterion("cart_good_id is null");
            return (Criteria) this;
        }

        public Criteria andCartGoodIdIsNotNull() {
            addCriterion("cart_good_id is not null");
            return (Criteria) this;
        }

        public Criteria andCartGoodIdEqualTo(Long value) {
            addCriterion("cart_good_id =", value, "cartGoodId");
            return (Criteria) this;
        }

        public Criteria andCartGoodIdNotEqualTo(Long value) {
            addCriterion("cart_good_id <>", value, "cartGoodId");
            return (Criteria) this;
        }

        public Criteria andCartGoodIdGreaterThan(Long value) {
            addCriterion("cart_good_id >", value, "cartGoodId");
            return (Criteria) this;
        }

        public Criteria andCartGoodIdGreaterThanOrEqualTo(Long value) {
            addCriterion("cart_good_id >=", value, "cartGoodId");
            return (Criteria) this;
        }

        public Criteria andCartGoodIdLessThan(Long value) {
            addCriterion("cart_good_id <", value, "cartGoodId");
            return (Criteria) this;
        }

        public Criteria andCartGoodIdLessThanOrEqualTo(Long value) {
            addCriterion("cart_good_id <=", value, "cartGoodId");
            return (Criteria) this;
        }

        public Criteria andCartGoodIdIn(List<Long> values) {
            addCriterion("cart_good_id in", values, "cartGoodId");
            return (Criteria) this;
        }

        public Criteria andCartGoodIdNotIn(List<Long> values) {
            addCriterion("cart_good_id not in", values, "cartGoodId");
            return (Criteria) this;
        }

        public Criteria andCartGoodIdBetween(Long value1, Long value2) {
            addCriterion("cart_good_id between", value1, value2, "cartGoodId");
            return (Criteria) this;
        }

        public Criteria andCartGoodIdNotBetween(Long value1, Long value2) {
            addCriterion("cart_good_id not between", value1, value2, "cartGoodId");
            return (Criteria) this;
        }

        public Criteria andCartGoodNumIsNull() {
            addCriterion("cart_good_num is null");
            return (Criteria) this;
        }

        public Criteria andCartGoodNumIsNotNull() {
            addCriterion("cart_good_num is not null");
            return (Criteria) this;
        }

        public Criteria andCartGoodNumEqualTo(Short value) {
            addCriterion("cart_good_num =", value, "cartGoodNum");
            return (Criteria) this;
        }

        public Criteria andCartGoodNumNotEqualTo(Short value) {
            addCriterion("cart_good_num <>", value, "cartGoodNum");
            return (Criteria) this;
        }

        public Criteria andCartGoodNumGreaterThan(Short value) {
            addCriterion("cart_good_num >", value, "cartGoodNum");
            return (Criteria) this;
        }

        public Criteria andCartGoodNumGreaterThanOrEqualTo(Short value) {
            addCriterion("cart_good_num >=", value, "cartGoodNum");
            return (Criteria) this;
        }

        public Criteria andCartGoodNumLessThan(Short value) {
            addCriterion("cart_good_num <", value, "cartGoodNum");
            return (Criteria) this;
        }

        public Criteria andCartGoodNumLessThanOrEqualTo(Short value) {
            addCriterion("cart_good_num <=", value, "cartGoodNum");
            return (Criteria) this;
        }

        public Criteria andCartGoodNumIn(List<Short> values) {
            addCriterion("cart_good_num in", values, "cartGoodNum");
            return (Criteria) this;
        }

        public Criteria andCartGoodNumNotIn(List<Short> values) {
            addCriterion("cart_good_num not in", values, "cartGoodNum");
            return (Criteria) this;
        }

        public Criteria andCartGoodNumBetween(Short value1, Short value2) {
            addCriterion("cart_good_num between", value1, value2, "cartGoodNum");
            return (Criteria) this;
        }

        public Criteria andCartGoodNumNotBetween(Short value1, Short value2) {
            addCriterion("cart_good_num not between", value1, value2, "cartGoodNum");
            return (Criteria) this;
        }

        public Criteria andCartGoodSubmonIsNull() {
            addCriterion("cart_good_submon is null");
            return (Criteria) this;
        }

        public Criteria andCartGoodSubmonIsNotNull() {
            addCriterion("cart_good_submon is not null");
            return (Criteria) this;
        }

        public Criteria andCartGoodSubmonEqualTo(Integer value) {
            addCriterion("cart_good_submon =", value, "cartGoodSubmon");
            return (Criteria) this;
        }

        public Criteria andCartGoodSubmonNotEqualTo(Integer value) {
            addCriterion("cart_good_submon <>", value, "cartGoodSubmon");
            return (Criteria) this;
        }

        public Criteria andCartGoodSubmonGreaterThan(Integer value) {
            addCriterion("cart_good_submon >", value, "cartGoodSubmon");
            return (Criteria) this;
        }

        public Criteria andCartGoodSubmonGreaterThanOrEqualTo(Integer value) {
            addCriterion("cart_good_submon >=", value, "cartGoodSubmon");
            return (Criteria) this;
        }

        public Criteria andCartGoodSubmonLessThan(Integer value) {
            addCriterion("cart_good_submon <", value, "cartGoodSubmon");
            return (Criteria) this;
        }

        public Criteria andCartGoodSubmonLessThanOrEqualTo(Integer value) {
            addCriterion("cart_good_submon <=", value, "cartGoodSubmon");
            return (Criteria) this;
        }

        public Criteria andCartGoodSubmonIn(List<Integer> values) {
            addCriterion("cart_good_submon in", values, "cartGoodSubmon");
            return (Criteria) this;
        }

        public Criteria andCartGoodSubmonNotIn(List<Integer> values) {
            addCriterion("cart_good_submon not in", values, "cartGoodSubmon");
            return (Criteria) this;
        }

        public Criteria andCartGoodSubmonBetween(Integer value1, Integer value2) {
            addCriterion("cart_good_submon between", value1, value2, "cartGoodSubmon");
            return (Criteria) this;
        }

        public Criteria andCartGoodSubmonNotBetween(Integer value1, Integer value2) {
            addCriterion("cart_good_submon not between", value1, value2, "cartGoodSubmon");
            return (Criteria) this;
        }

        public Criteria andCartTotalMoneyIsNull() {
            addCriterion("cart_total_money is null");
            return (Criteria) this;
        }

        public Criteria andCartTotalMoneyIsNotNull() {
            addCriterion("cart_total_money is not null");
            return (Criteria) this;
        }

        public Criteria andCartTotalMoneyEqualTo(Integer value) {
            addCriterion("cart_total_money =", value, "cartTotalMoney");
            return (Criteria) this;
        }

        public Criteria andCartTotalMoneyNotEqualTo(Integer value) {
            addCriterion("cart_total_money <>", value, "cartTotalMoney");
            return (Criteria) this;
        }

        public Criteria andCartTotalMoneyGreaterThan(Integer value) {
            addCriterion("cart_total_money >", value, "cartTotalMoney");
            return (Criteria) this;
        }

        public Criteria andCartTotalMoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("cart_total_money >=", value, "cartTotalMoney");
            return (Criteria) this;
        }

        public Criteria andCartTotalMoneyLessThan(Integer value) {
            addCriterion("cart_total_money <", value, "cartTotalMoney");
            return (Criteria) this;
        }

        public Criteria andCartTotalMoneyLessThanOrEqualTo(Integer value) {
            addCriterion("cart_total_money <=", value, "cartTotalMoney");
            return (Criteria) this;
        }

        public Criteria andCartTotalMoneyIn(List<Integer> values) {
            addCriterion("cart_total_money in", values, "cartTotalMoney");
            return (Criteria) this;
        }

        public Criteria andCartTotalMoneyNotIn(List<Integer> values) {
            addCriterion("cart_total_money not in", values, "cartTotalMoney");
            return (Criteria) this;
        }

        public Criteria andCartTotalMoneyBetween(Integer value1, Integer value2) {
            addCriterion("cart_total_money between", value1, value2, "cartTotalMoney");
            return (Criteria) this;
        }

        public Criteria andCartTotalMoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("cart_total_money not between", value1, value2, "cartTotalMoney");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCartGoodSizeIsNull() {
            addCriterion("cart_good_size is null");
            return (Criteria) this;
        }

        public Criteria andCartGoodSizeIsNotNull() {
            addCriterion("cart_good_size is not null");
            return (Criteria) this;
        }

        public Criteria andCartGoodSizeEqualTo(Integer value) {
            addCriterion("cart_good_size =", value, "cartGoodSize");
            return (Criteria) this;
        }

        public Criteria andCartGoodSizeNotEqualTo(Integer value) {
            addCriterion("cart_good_size <>", value, "cartGoodSize");
            return (Criteria) this;
        }

        public Criteria andCartGoodSizeGreaterThan(Integer value) {
            addCriterion("cart_good_size >", value, "cartGoodSize");
            return (Criteria) this;
        }

        public Criteria andCartGoodSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("cart_good_size >=", value, "cartGoodSize");
            return (Criteria) this;
        }

        public Criteria andCartGoodSizeLessThan(Integer value) {
            addCriterion("cart_good_size <", value, "cartGoodSize");
            return (Criteria) this;
        }

        public Criteria andCartGoodSizeLessThanOrEqualTo(Integer value) {
            addCriterion("cart_good_size <=", value, "cartGoodSize");
            return (Criteria) this;
        }

        public Criteria andCartGoodSizeIn(List<Integer> values) {
            addCriterion("cart_good_size in", values, "cartGoodSize");
            return (Criteria) this;
        }

        public Criteria andCartGoodSizeNotIn(List<Integer> values) {
            addCriterion("cart_good_size not in", values, "cartGoodSize");
            return (Criteria) this;
        }

        public Criteria andCartGoodSizeBetween(Integer value1, Integer value2) {
            addCriterion("cart_good_size between", value1, value2, "cartGoodSize");
            return (Criteria) this;
        }

        public Criteria andCartGoodSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("cart_good_size not between", value1, value2, "cartGoodSize");
            return (Criteria) this;
        }

        public Criteria andReserve1IsNull() {
            addCriterion("reserve1 is null");
            return (Criteria) this;
        }

        public Criteria andReserve1IsNotNull() {
            addCriterion("reserve1 is not null");
            return (Criteria) this;
        }

        public Criteria andReserve1EqualTo(String value) {
            addCriterion("reserve1 =", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotEqualTo(String value) {
            addCriterion("reserve1 <>", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1GreaterThan(String value) {
            addCriterion("reserve1 >", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1GreaterThanOrEqualTo(String value) {
            addCriterion("reserve1 >=", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1LessThan(String value) {
            addCriterion("reserve1 <", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1LessThanOrEqualTo(String value) {
            addCriterion("reserve1 <=", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1Like(String value) {
            addCriterion("reserve1 like", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotLike(String value) {
            addCriterion("reserve1 not like", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1In(List<String> values) {
            addCriterion("reserve1 in", values, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotIn(List<String> values) {
            addCriterion("reserve1 not in", values, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1Between(String value1, String value2) {
            addCriterion("reserve1 between", value1, value2, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotBetween(String value1, String value2) {
            addCriterion("reserve1 not between", value1, value2, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve2IsNull() {
            addCriterion("reserve2 is null");
            return (Criteria) this;
        }

        public Criteria andReserve2IsNotNull() {
            addCriterion("reserve2 is not null");
            return (Criteria) this;
        }

        public Criteria andReserve2EqualTo(String value) {
            addCriterion("reserve2 =", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2NotEqualTo(String value) {
            addCriterion("reserve2 <>", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2GreaterThan(String value) {
            addCriterion("reserve2 >", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2GreaterThanOrEqualTo(String value) {
            addCriterion("reserve2 >=", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2LessThan(String value) {
            addCriterion("reserve2 <", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2LessThanOrEqualTo(String value) {
            addCriterion("reserve2 <=", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2Like(String value) {
            addCriterion("reserve2 like", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2NotLike(String value) {
            addCriterion("reserve2 not like", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2In(List<String> values) {
            addCriterion("reserve2 in", values, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2NotIn(List<String> values) {
            addCriterion("reserve2 not in", values, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2Between(String value1, String value2) {
            addCriterion("reserve2 between", value1, value2, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2NotBetween(String value1, String value2) {
            addCriterion("reserve2 not between", value1, value2, "reserve2");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}